﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LoginZJGC.aspx.cs" Inherits="IYAKASAPortal.Login.LoginZJGC" %>
<%@ Register src="LoginedList.ascx" tagname="LoginedList" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>综检登录</title>
    <script type="text/javascript" src="../script/jquery-3.2.1.min.js"></script>
    <link type="text/css" rel="Stylesheet" href="../support/tfNiceTable/tfNiceTable.css" />
    <script type="text/javascript" src="../support/tfNiceTable/tfNiceTable.js"></script>
    <script type="text/javascript" src="../support/jedate/jedate.min.js"></script>
    <script type="text/javascript" src="../script/jquery.select.js"></script>
</head>
<body style="overflow-y: auto">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:HiddenField ID="hidGCID" runat="server" />
                <table border="0" width="100%" cellpadding="0" cellspacing="0" style="height: 25px;">
                    <tr>
                        <td class="main_title_left"></td>
                        <td class="main_title_center">&nbsp;成都弥荣科技发展有限公司--综检检验登录</td>
                        <td class="main_title_right"></td>
                    </tr>
                </table>
                <table width="100%" cellpadding="0" cellspacing="0" border="0" class="mainWidth">
                    <tr>
                        <td align="center">
                            <table border="1" cellspacing="0" cellpadding="3" class="tfNiceTable">
                                 <thead>
                                    <tr class="tfNiceTable_head_style">
                                        <td colspan="4" align="left">★综检挂车登录</td>
                                    </tr>
                                </thead>
                                <tbody style="background-color: white;">
                                    <tr>
                                        <td align="right" style="width: 15%">挂车检验类别</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList runat="server" ID="drpJYLBGC"></asp:DropDownList><span style="color: red">*</span>新车请选择注册登记检测</td>
                                        <td align="right">挂车综检流水号</td>
                                        <td align="left"><asp:TextBox ID="txtZJLSHGC" runat="server" CssClass="csstextboxreadonly" ReadOnly="true"></asp:TextBox>
                                           </td>
                                    </tr>
                                    <tr>
                                        <td align="right">挂车号牌号码</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtHPHMStartGC" runat="server" Width="30px" CssClass="csstextbox toUpper" Text="" TabIndex="18"></asp:TextBox> <asp:TextBox ID="txtHPHMGC" runat="server" CssClass="csstextbox toUpper" Width="100px" Text="" TabIndex="19" ></asp:TextBox><asp:TextBox ID="txtGua" runat="server" CssClass="csstextboxreadonly" ReadOnly="true" Width="20px" Text="挂" ></asp:TextBox><span style="color: red">*</span>
                                        </td>
                                        <td align="right">挂车号牌种类</td>
                                        <td align="left">
                                            <asp:DropDownList ID="drpHPZLGC" runat="server">
                                            </asp:DropDownList>
                                             &nbsp;&nbsp;&nbsp;<a id="dd" href="LoginAJ.aspx">普通车</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">挂车VIN（或车架）码</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtVINGC" runat="server" CssClass="csstextbox"></asp:TextBox><span style="color: red">*</span>
                                        </td>
                                        <td align="right">
                                            <asp:CheckBox runat="server" ID="chkSFLWGC" Text="是否联网" />
                                        </td>
                                        <td align="left">
                                            <asp:Button ID="btnSearchGC" runat="server" Text="" CssClass="btnSearch" OnClick="btnSearchGC_Click"/>
                                        </td>
                                    </tr>
                                    <thead>
                                        <tr class="tfNiceTable_head_style">
                                            <td colspan="4" align="left">★挂车基础信息</td>
                                        </tr>
                                    </thead>
                                    <tr>
                                        <td align="right" style="width: 15%">车辆种类</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpCLZLGC" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                        <td align="right" style="width: 15%">所有人</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtSYRGC" runat="server" CssClass="csstextbox" Width="300px"></asp:TextBox><span style="color: red">*</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">住址</td>
                                        <td align="left" style="width: 35%" colspan="3">
                                            <asp:TextBox ID="txtAddressGC" runat="server" CssClass="csstextbox" Width="500px"></asp:TextBox><span style="color: red">*</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">使用性质</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpSYXZGC" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                        <td align="right" style="width: 15%">品牌型号</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtPPGC" runat="server" CssClass="csstextbox"></asp:TextBox><span style="color: red">*</span>
                                            型号<asp:TextBox ID="txtXHGC" runat="server" CssClass="csstextbox"></asp:TextBox>
                                            <span style="color: red">*</span><asp:LinkButton runat="server" ID="btnSearchGCPPXH" Text="查询" OnClick="btnSearchGCPPXH_Click" ></asp:LinkButton></td>
                                   </tr>
                                    <tr>
                                    <td align="right">出厂日期</td>
                                    <td align="left">
                                        <asp:TextBox ID="txtCCRQGC" runat="server" CssClass="csstextbox" onclick="InitData('#txtCCRQGC')"></asp:TextBox><span style="color: red">*</span>
                                    </td>
                                    <td align="right">初始登记日期</td>
                                    <td align="left">
                                        <asp:TextBox ID="txtCSDJRQGC" runat="server" CssClass="csstextbox" onclick="InitData('#txtCSDJRQGC')"></asp:TextBox><span style="color: red">*</span>
                                    </td>
                                </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">总质量</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtZZLGC" runat="server" CssClass="csstextbox"></asp:TextBox>
                                            <span style="color: red">*</span>(kg)</td>
                                        <td align="right" style="width: 15%">车身颜色</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpCSYSGC" runat="server"></asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">整备质量</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtZBZLGC" runat="server" CssClass="csstextbox"></asp:TextBox>
                                            (kg)</td>
                                        <td align="right" style="width: 15%">核定载质量</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtHDZZLGC" runat="server" CssClass="csstextbox"></asp:TextBox>
                                            (kg)</td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">外廓尺寸</td>
                                        <td align="left" style="width: 35%" colspan="3">长<asp:TextBox ID="txtCSCGC" runat="server" CssClass="csstextbox" Width="70px"></asp:TextBox><span style="color: red">*</span>
                                            (mm)&nbsp; 宽<asp:TextBox ID="txtCSKGC" runat="server" CssClass="csstextbox" Width="70px"></asp:TextBox><span style="color: red">*</span>
                                            (mm)&nbsp; 高<asp:TextBox ID="txtCSGGC" runat="server" CssClass="csstextbox" Width="70px"></asp:TextBox><span style="color: red">*</span>
                                            (mm)</td>
                                    </tr>
                                     <tr>
                                        <td align="right" style="width: 15%">总轴数</td>
                                        <td align="left"><asp:DropDownList runat="server" ID="drpZZSGC" AutoPostBack="True" OnSelectedIndexChanged="drpZZSGC_SelectedIndexChanged"></asp:DropDownList></td>
                                        <td align="right" style="width: 15%">驻车轴</td>
                                        <td align="left" style="width: 35%">
                                            <asp:CheckBoxList ID="chkZCZWZGC" runat="server" AutoPostBack="true" RepeatDirection="Horizontal" CssClass="noborder" OnSelectedIndexChanged="chkZCZWZGC_SelectedIndexChanged"></asp:CheckBoxList>
                                        </td>
                                     </tr>
                                    <tr>
                                        <td align="right" style="width: 15%"></td>
                                        <td align="left" style="width: 35%">
                                            &nbsp;</td>
                                         <td align="right" style="width: 15%">行政区域</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtXZQYGC" runat="server" CssClass="csstextbox" Width="300px"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                       <td align="right" style="width: 15%">综检车辆类型</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpZJCLLXGC" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                        <td align="right" style="width: 15%">联网查询车辆事故/违法信息</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpLWCXWZJLGC" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">货车车身型式</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpHCCSXSGC" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                        <td align="right" style="width: 15%">营运证号</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtYYZHGC" runat="server" CssClass="csstextbox"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                            <td align="right" style="width: 15%">出厂类型</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpCLCCLXGC" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                        <td align="right" style="width: 15%">并装轴形式</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpBZZXSGC" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">当前检测形式</td>
                                        <td align="left" style="width: 35%" >
                                           <div style="float:left">
                                                <div style="float:left">
                                            <asp:RadioButtonList runat="server" ID="rbtnTestGC" RepeatDirection="Horizontal"  CssClass="noborder">
                                                <asp:ListItem Text="初检" Value="0" Selected="True"></asp:ListItem>
                                                 <asp:ListItem Text="复检" Value="1"></asp:ListItem>
                                            </asp:RadioButtonList></div>
                                            <div style="float:left;vertical-align:middle; line-height:20px;">&nbsp;&nbsp;检测次数:<asp:Label runat="server" ID="lblJCCSGC" Text="0"></asp:Label></div>
                                                </div>
                                             </td>
                                                                                <td align="right" style="width: 15%">关联车</td>
                                        <td align="left" style="width: 35%">
                                            <asp:CheckBox runat="server" ID="chkTogether" Text="是" AutoPostBack="true" OnCheckedChanged="chkTogether_CheckedChanged" />
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            关联车牌号码：<asp:TextBox ID="txtGLHPHM" runat="server" CssClass="csstextboxreadonly" ReadOnly="True"></asp:TextBox>
                                         </td>
                                    </tr>
                                    <thead>
                                        <tr class="tfNiceTable_head_style">
                                            <td colspan="4" align="left">★挂车综检项目<asp:CheckBox runat="server" ID="chkAllGC" Text="全选/全不选" AutoPostBack="True" OnCheckedChanged="chkAllGC_CheckedChanged" />
                                            </td>
                                        </tr>
                                    </thead>
                                    <tr>
                                        <td align="right" style="width: 15%">检验项目</td>
                                        <td align="left" style="width: 35%" colspan="3">
                                            <asp:CheckBoxList runat="server" ID="chkJYXMGC" AutoPostBack="true" CssClass="table_without_border" RepeatDirection="Horizontal" RepeatColumns="8" OnSelectedIndexChanged="chkJYXMGC_SelectedIndexChanged"></asp:CheckBoxList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="4">
                                            <asp:Button runat="server" ID="btnSaveGC" CssClass="btnSaveEnabled" OnClick="btnSaveGC_Click" Text="" />&nbsp;&nbsp;&nbsp;&nbsp;
                                             <asp:Button runat="server" ID="btnSendGC" Enabled="false" Text="" CssClass="btnSendDisabled" OnClick="btnSendGC_Click" />&nbsp;&nbsp;&nbsp;
                                            <asp:Button runat="server" ID="btnResetGC" Text="" CssClass="btnResetEnabled" OnClick="btnResetGC_Click" />
                                        </td>
                                    </tr>
                                     <tr>
                                           <td colspan="4" align="right">
                                               <asp:LinkButton runat="server" ID="lbtnLoginedShow" Text="展 开︾" OnClick="lbtnLoginedShow_Click"></asp:LinkButton>
                                           </td>
                                       </tr>
                                    <div id="divLoginList" runat="server" visible="false">
                                       <tr>
                                           <td colspan="4">
                                               <uc1:LoginedList ID="LoginedList1"  runat="server" />
                                           </td>
                                       </tr>
                                    </div>
                    </tbody>
                </table>
                </td>
    </tr>
</table>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
<script type="text/javascript">
    function InitData(oId) {
        jeDate({
            dateCell: oId,//isinitVal:true,
            format: "YYYY-MM-DD",
            isTime: false, //isClear:false,
            minDate: "2000-10-19 00:00:00",
            maxDate: "2099-11-8 00:00:00"
        });
    }
</script>
<script type="text/javascript" src="../script/Login.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        GetData("txtHPHMStartGC", "txtHPHMGC", "drpHPZLGC");
        GetPP("txtPPGC", "txtXHGC");
        GetXH("txtPPGC", "txtXHGC");

        $('#txtHPHMGC').live('input on', function () {
            GetData("txtHPHMStartGC", "txtHPHMGC", "drpHPZLGC");
        });

        $('#txtPPGC').live('input on', function () {
            GetPP("txtPPGC", "txtXHGC");
        });

        $('#txtXHGC').live('input on', function () {
            GetXH("txtPPGC", "txtXHGC");
        });
    });

    var prm = Sys.WebForms.PageRequestManager.getInstance();
    prm.add_endRequest(function () {
        GetData("txtHPHMStartGC", "txtHPHMGC", "drpHPZLGC");
        GetPP("txtPPGC", "txtXHGC");
        GetXH("txtPPGC", "txtXHGC"); 

        $('#txtHPHMGC').live('input on', function () {
            GetData("txtHPHMStartGC", "txtHPHMGC", "drpHPZLGC");
        });

        $('#txtPPGC').live('input on', function () {
            GetPP("txtPPGC", "txtXHGC");
        });

        $('#txtXHGC').live('input on', function () {
            GetXH("txtPPGC", "txtXHGC");
        });
    });
</script>


